package com.base.component.ai.workflow.node;

import java.util.Map;

import com.base.component.ai.workflow.core.NodeTypeEnum;
import com.gitee.magic.core.valid.annotation.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 变量提取
 * @author zywei
 *
 */
@Getter@Setter@ToString
public class NodeVariable extends Node {
	
	public NodeVariable() {
		super(NodeTypeEnum.VARIABLE);
	}
	
	@Schema(description="Key:变量名 Value:fel表达式")
	@NotNull
	private Map<String,String> varExpression;
	
	@Schema(description="Key:变量名 Value:值")
	@NotNull
	private Map<String,String> varValue;
	
}
